package com.sdut.encryption.pojo;

import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 管理员类
 */
@Alias("Manager")
public class Manager {
    //主键
    private Long rowId;
    //名字
    private String managerName;
    //登录账号
    private String managerCode;
    //密码
    private String managerPass;
    //邮箱
    private String managerEmail;
    //电话
    private String managerPhone;
    //生日
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date managerBirth;

    public Long getRowId() {
        return rowId;
    }

    public void setRowId(Long rowId) {
        this.rowId = rowId;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getManagerCode() {
        return managerCode;
    }

    public void setManagerCode(String managerCode) {
        this.managerCode = managerCode;
    }

    public String getManagerPass() {
        return managerPass;
    }

    public void setManagerPass(String managerPass) {
        this.managerPass = managerPass;
    }

    public String getManagerEmail() {
        return managerEmail;
    }

    public void setManagerEmail(String managerEmail) {
        this.managerEmail = managerEmail;
    }

    public String getManagerPhone() {
        return managerPhone;
    }

    public void setManagerPhone(String managerPhone) {
        this.managerPhone = managerPhone;
    }

    public Date getManagerBirth() {
        return managerBirth;
    }

    public void setManagerBirth(Date managerBirth) {
        this.managerBirth = managerBirth;
    }
}
